package com.example.demo.pojo;

import java.util.Date;

public class Book {
    private int bookID;  //id
    private String out_trade_no;//订单号
    private String money;//金额
    private int custID; //客户编号
    private String custNum;//身份号
    private int typeID;
    private String custPhone;//手机号
    private int roomID;//房间号
    private Date  createTime;//预订时间
    private String  arriveDate;//到达时间
    private String leaveDate;//离开时间
    private String remark;//备注
    private int bookState;//0为待处理 ，1 为已同意未入住 ， 2为已同意已入住，3为已同意已退房  4为已拒绝订单

    public int getBookID() {
        return bookID;
    }

    public void setBookID(int bookID) {
        this.bookID = bookID;
    }

    public String getCustNum() {
        return custNum;
    }

    @Override
    public String toString() {
        return "Book{" +
                "bookID=" + bookID +
                ", custNum='" + custNum + '\'' +
                ", typeID=" + typeID +
                ", custPhone=" + custPhone +
                ", roomID=" + roomID +
                ", createTime=" + createTime +
                ", arriveDate='" + arriveDate + '\'' +
                ", leaveDate='" + leaveDate + '\'' +
                ", remark='" + remark + '\'' +
                ", bookState=" + bookState +
                '}';
    }

    public void setCustNum(String custNum) {
        this.custNum = custNum;
    }

    public int getBookState() {
        return bookState;
    }

    public void setBookState(int bookState) {
        this.bookState = bookState;
    }

    public int getRoomID() {
        return roomID;
    }

    public void setRoomID(int roomID) {
        this.roomID = roomID;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getLeaveDate() {
        return leaveDate;
    }

    public void setLeaveDate(String leaveDate) {
        this.leaveDate = leaveDate;
    }

    public String getArriveDate() {
        return arriveDate;
    }

    public void setArriveDate(String arriveDate) {
        this.arriveDate = arriveDate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCustPhone() {
        return custPhone;
    }

    public void setCustPhone(String custPhone) {
        this.custPhone = custPhone;
    }

    public int getTypeID() {
        return typeID;
    }

    public void setTypeID(int typeID) {
        this.typeID = typeID;
    }

    public String getOut_trade_no() {
        return out_trade_no;
    }

    public void setOut_trade_no(String out_trade_no) {
        this.out_trade_no = out_trade_no;
    }

    public String getMoney() {
        return money;
    }

    public void setMoney(String money) {
        this.money = money;
    }

    public int getCustID() {
        return custID;
    }

    public void setCustID(int custID) {
        this.custID = custID;
    }
}
